package com.glodon.paas.search.model;

/**
 * 来至document的事件消息.
 * 
 * @author botao.liao
 * 
 */
public class DocumentEvent extends Event {
    private static final long serialVersionUID = 1L;
    private String fileId;
    private String ownerId;
    private String url;
    private EventType eventType;

    public DocumentEvent() {
        super();
    }

    public DocumentEvent(String fileId, String ownerId, String url, EventType eventType) {
        super();
        this.fileId = fileId;
        this.ownerId = ownerId;
        this.url = url;
        this.eventType = eventType;
    }

    public String getFileId() {
        return fileId;
    }

    public void setFileId(String fileId) {
        this.fileId = fileId;
    }

    public String getOwnerId() {
        return ownerId;
    }

    public void setOwnerId(String ownerId) {
        this.ownerId = ownerId;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public EventType getEventType() {
        return eventType;
    }

    public void setEventType(EventType eventType) {
        this.eventType = eventType;
    }
}
